const config = {
  // 'localhost:8000': 'http://10.10.170.243:8080/dfmadmin',
  // 'localhost:8000': 'http://10.10.170.219:8080/dfmadmin',
  '127.0.0.1:8001': 'http://127.0.0.1:8080/dfmadmin',
  'localhost:8000': 'https://optgw-perf.dfiov.com.cn/dfmadmin',
  'localhost:8001': 'https://optgw-perf.dfiov.com.cn/dfmadmin',
  // 'localhost:8000': 'https://optgw-pro.dfiov.com.cn/dfmadmin',

  'dfmweb.sit.dftccloud.t.home': 'http://optgateway.sit.dftccloud.t.home/dfmadmin',
  'dfmweb.perf.dftccloud.t.home': 'http://optgateway.perf.dftccloud.t.home/dfmadmin',
  'dfmweb-sit.dfiov.com.cn': 'https://optgw-sit.dfiov.com.cn/dfmadmin',
  'dfmweb-perf.dfiov.com.cn': 'https://optgw-perf.dfiov.com.cn/dfmadmin',
  'dfmweb.uat.dftccloud.t.home': 'http://optgateway.uat.dftccloud.t.home/dfmadmin',
  'dfmweb-uat.dfiov.com.cn': 'https://optgw-uat.dfiov.com.cn/dfmadmin',
  // 'localhost:8000': 'http://optgateway.perf.dftccloud.t.home/dfmadmin/',
  // 'localhost:8000': 'http://localhost:8080/dfmadmin',
  // 'localhost:8000': 'http://optgateway.sit.dftccloud.t.home/dfmadmin',

  'dfdcvp-sit.dfiov.com.cn': 'https://optgw-sit.dfiov.com.cn/dfmadmin',
  'dfdcvp-perf.dfiov.com.cn': 'https://optgw-perf.dfiov.com.cn/dfmadmin',
  'dfdcvp-uat.dfiov.com.cn': 'https://optgw-uat.dfiov.com.cn/dfmadmin',
  'dfdcvp.dfiov.com.cn': 'https://optgw-pro.dfiov.com.cn/dfmadmin',

  'dftsp-sit.dfiov.com.cn': 'https://optgw-sit.dfiov.com.cn/dfmadmin',
  'dftsp-perf.dfiov.com.cn': 'https://optgw-perf.dfiov.com.cn/dfmadmin',
  'dftsp-uat.dfiov.com.cn': 'https://optgw-uat.dfiov.com.cn/dfmadmin',
  'dftsp.dfiov.com.cn': 'https://optgw-pro.dfiov.com.cn/dfmadmin',
};

export const windowUrl = config[window.location.host];
export const publicKey =
  'MIG/MA0GCSqGSIb3DQEBAQUAA4GtADCBqQKBoQCFs9ybzfSJmXc1m7IQC7n1RyxVgTCYr9HtfNtnXm/HKbRaT9O3zuj3K82VTdcba3xMDZnvSv9V64Ri+PurUSXbFx4026KRG8ijf5E7j8ufezOcXIJz8ogyBr1kOzIF/y5hvj0ZjAB3+MqJFZqqzfGlNIoSCPTVECRGtrRp1iiomzp3IgsDK0rhhAdRs87cO9Z7CXZ24R796THJKv4rT8xzAgMBAAE=';
export const privateKey =
  'MIIDBwIBADANBgkqhkiG9w0BAQEFAASCAvEwggLtAgEAAoGhAIWz3JvN9ImZdzWbshALufVHLFWBMJiv0e1822deb8cptFpP07fO6PcrzZVN1xtrfEwNme9K/1XrhGL4+6tRJdsXHjTbopEbyKN/kTuPy597M5xcgnPyiDIGvWQ7MgX/LmG+PRmMAHf4yokVmqrN8aU0ihII9NUQJEa2tGnWKKibOnciCwMrSuGEB1Gzztw71nsJdnbhHv3pMckq/itPzHMCAwEAAQKBoGqxCWUHJ5E59oe/04q8YMsa3YTpz6a3/rQdg1NsZ5Qtcm7y7obpxLugp6/x6qpFzm0+GU17sl+UzhLQjru5yJSZURBrB8H1wti9bl5yM9HxrfZez9mDkSEeWjT/OIx9p7t0fpXnePZ+e8LhwOrOeJjLrQHedc2rBjgBbZSyqu2Eq8Bo/6y6XTbW2hpZWQOiQ3GEWX2iKTgpLPJdVe05GgECUQC9e9guy7oiUOZ9RzJ5sruNsbM+ovqTcbcFWAMIhKNfDy/HQxLA7h+BzfRYehD0luE+UoCXQ3cJ4v92wIQ/5VImVZjmcByj66iynPBK6CFNAQJRALSjLvMv+r7mDtJ9jIw7P2qy6Q5SRn84QiQcc6ghXL7e71iF4VYiDyV/y5QjB+Gyu9qCIjA92eNJNQx3a6nxDBDsfuzCd7YZlnlekb5qaTVzAlEAouqEaVfI5hBg3H4GrBQ8pguPbd97SqKPFg0iLoS8YtMP5WeKDE+wz05hNGFfiqzfZVJSNbxP8TQ3KcdE7hshkswt9pOWTGomVcwR3pXPbAECUQCumTReVzf0oQYeqr/ZI8NubLQb5abCfSxhHycjkevFilKqq+1chdtCEb5C14FcxJgS4soM+xvKNw6RmDR2tMlG6nDchDOVzjHF6oTRGqXKxQJQPbb8rl/XD5BWUN4AwN4Jn9zruJk2VkkZF4r0FnSDyu2fnQysFlszmpMtq3Pr0P1nLsicf6BnnFRG4ce8YMQ0rmpm3HbdswpBnGzGfNnUWD4='
window.g = { url: config[window.location.host] };
  